package br.com.sovi.persistence;

import org.springframework.beans.factory.FactoryBean;

public class HibernateEntitiesFactoryBean implements FactoryBean {

	public Object getObject() throws Exception {
		return new Class[] {
				Empresa.class,
				Usuario.class,
				Dispositivo.class,
				Cerca.class,
				Ponto.class
		};
	}

	public Class<?> getObjectType() {
		return Class[].class;
	}

	public boolean isSingleton() {
		return true;
	}

}
